package cn.itsource.pethome.org.mapper;

import cn.itsource.pethome.basic.mapper.BaseMapper;
import cn.itsource.pethome.org.domain.Department;
import cn.itsource.pethome.org.domain.Employee;
import cn.itsource.pethome.org.query.DepartmentQuery;
import cn.itsource.pethome.org.query.EmployeeQuery;

import java.util.List;

/**
 * 员工mapper接口
 */
public interface EmployeeMapper extends BaseMapper<Employee> {
    /**
     *通过用户名查询对象
     * @param username
     * @return
     */
    Employee findByName(String username);
}
